package com.cowain.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cowain.base.core.domain.entity.SysOperLogEntity;
import com.cowain.system.mapper.SysOperLogMapper;
import com.cowain.system.service.SysOperLogService;
import lombok.Data;

/**
 * @author songxz
 * @date 2022/11/22
 */
@Data
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLogEntity> implements SysOperLogService {

    /**
     * 新增操作日志
     *
     * @param operLog
     * @return
     */
    @Override
    public boolean insertOperlog(SysOperLogEntity operLog) {
        return this.save(operLog);
    }
}
